/**
 * 类符号引用
 * User: zhikang.peng
 * Date: 2018/04/27 13:45
 */
package heap

import "gitee.com/thghh/jvmgo/classfile"

type ClassRef struct {
	SymbolRef
}

func newClassRef(cp *ConstantPool, classInfo *classfile.ConstantClassInfo) *ClassRef {
	ref := &ClassRef{}
	ref.cp = cp
	ref.className = classInfo.Name()
	return ref
}
